package com.ssy.lingxi.feign;


import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.dto.response.CorporateAccountConfigResponse;
import com.ssy.lingxi.fallback.CorporateAccountConfigControllerFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "settle-accounts-service", fallback = CorporateAccountConfigControllerFallback.class)
public interface CorporateAccountConfigControllerFeign {


    /**
     * 结算能力-结算规则配置-对公账户配置
     * @author wrc
     * @date 2020/8/25
     */
    @GetMapping("/settle/accounts/corporate/account/config")
    Wrapper<CorporateAccountConfigResponse> corporateAccountConfig(@RequestParam("memberId")Long memberId,@RequestParam("memberRoleId")Long memberRoleId);




}
